Student Solution

-->

"Education is the most powerful weapon which you can use to change the world”
– Nelson Mandela

1 University

1 Course

2 Subjects

8.3 - Interacting with Graphics

8.3 - Interacting with Graphics

Q Creating Code In the previous shinydashboard application you used a slider bar and tabs to change the appearance of your plotted output. The user is interacting with the components, such as slider bars and tabs, to produce a change in the plotted graph. In this application, the user will interact directly with the points on the plotted graph to modify the output of the application. Now the plotted graph itself becomes interactive. For this assignment, develop the R code for the "Suggested project: Experiment with airquality" found in this week's readings. This project is located in the Interacting with Graphics section. Paste your R code and your output into a document. Submit your results for this assignment. ________________________________________ Save your assignment using a naming convention that includes your first and last name and the activity number (or description). Do not add punctuation or special characters. View Rubric

View Related Questions

Solution Preview

Code: library(shinydashboard) library(MASS) ui<- dashboardPage( dashboardHeader(title = "Brushing"), dashboardSidebar(collapsed=TRUE), dashboardBody( fluidRow( plotOutput("CerealPlot", click = "single_click"), box((verbatimTextOutput("coords")),width = 12), ) ) )